package me.firstapp.repository.shop;

import java.util.List;
import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.shop.Category;
import me.firstapp.repository.base.EntityRepository;

public interface CategoryRepository extends EntityRepository<Category> {
	
	Category findCategoryById(Long id, Long apiClientId);

	List<Category> findCategories(Long apiClientId);
	
	Page<Category> findSectionPage(Integer pageNo, Integer pageSize, Map<String, Object> searchParams, String sortParam,
			String sortType, Long apiClientId);
}
